#include "PreCompile.hpp"
#include "XmlUtils.hpp"
#include "Utils.hpp"

namespace BuildNG
{	
  NamespaceURI XmlUtils::dbuild_namespace = "~/dbuild.xsd";

  //////////
  // XmlUtils
  bool XmlUtils::compare_element_name(const Xml::Element &element,
    const Glib::ustring &name,const NamespaceURI &ns)
  {
    Glib::ustring uri = element.get_namespace_uri();
    return element.get_name() == name && (uri == "" || uri == uri == ns);
  }
}
